<?php

namespace app\index\controller;

use app\common\controller\Frontend;
use think\Db;

class Lanmu extends Frontend
{

    protected $noNeedLogin = '*';
    protected $noNeedRight = '*';
    protected $layout = 'default';

    public function index()
    {
        $info = Db::name('lanmu')->where([
            'id' => input('lanmu_id/d'),
        ])->find();
        $this->assign('info', $info);
        return $this->view->fetch();
    }

}
